package com.circus.trace.bean.material.area;

import org.nutz.dao.entity.annotation.ColDefine;
import org.nutz.dao.entity.annotation.ColType;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.One;
import org.nutz.dao.entity.annotation.Table;

import com.circus.trace.bean.CricusEntity;

@Table("t_manor")
@Comment("庄园")
public class Manor extends CricusEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Column("m_name")
	@Comment("庄园名称")
	private String name;

	@Column("m_type")
	@Comment("庄园种植品种")
	private String type;

	@Column("m_type_detail")
	@Comment("品种详情")
	private String typeDetail;

	@Column("m_area_id")
	@Comment("所属产区")
	private long areaId;

	@Column("a_pick_time")
	@Comment("采摘时间")
	private String pickingTime;

	@Column("m_level")
	@Comment("等级")
	private String level;

	@Column("m_mode")
	@Comment("处理方式")
	private String mode;

	@Column("m_flavor")
	@Comment("风味")
	private String flavor;

	@Column("m_descr")
	@Comment("庄园介绍")
	@ColDefine(type = ColType.TEXT)
	private String description;
	
	@One
	private Area area;

	public Area getArea() {
		return area;
	}

	public void setArea(Area area) {
		this.area = area;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getTypeDetail() {
		return typeDetail;
	}

	public void setTypeDetail(String typeDetail) {
		this.typeDetail = typeDetail;
	}

	public long getAreaId() {
		return areaId;
	}

	public void setAreaId(long areaId) {
		this.areaId = areaId;
	}

	public String getPickingTime() {
		return pickingTime;
	}

	public void setPickingTime(String pickingTime) {
		this.pickingTime = pickingTime;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getMode() {
		return mode;
	}

	public void setMode(String mode) {
		this.mode = mode;
	}

	public String getFlavor() {
		return flavor;
	}

	public void setFlavor(String flavor) {
		this.flavor = flavor;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}
